package com.cskaoyan.javase.oop3._1interface._4example.model;

/**
 * 用数组来模拟数据库
 * 对数据库的增删改查,模拟成对数组的增删改查
 *
 * @since 17:46
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class GoodsData {
    public static final Goods[] GOODS = new Goods[5];

    static {
        GOODS[0] = new Goods(1, "iPhone13", "苹果", 5000);
        GOODS[1] = new Goods(2, "华为Mate50", "华为", 4500);
        GOODS[2] = new Goods(3, "小米12", "小米", 3000);
        GOODS[3] = new Goods(4, "OPPO Reno ACE", "OPPO", 3800);
        GOODS[4] = new Goods(5, "VIVO X80 ", "VIVO", 6000);
    }
}
